package com.jy.mapper;

import com.jy.entity.CwLsparking;
import com.jy.entity.CwParking;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jy.entity.PageInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 车位费 Mapper 接口
 * </p>
 *
 * @author WeiQuan
 * @since 2022-11-14
 */
public interface CwParkingMapper extends BaseMapper<CwParking> {
//  查询用户车位费
    List<CwParking> allCwParking(PageInfo pageInfo);
//    查询用户车位费数量
    @Select("select count(*) from cw_parking")
    public int selcwparkingcount();
//    新增车位费
    public int addcwparking(CwParking cwParking);
//    删除车位费
    public int delcwparking(Integer pid);
//    修改车位费
    public int upcwparking(CwParking cwParking);

}
